home *** CD-ROM | disk | FTP | other *** search
- // This may look like C code, but it is really -*- C++ -*-
- //
- // Copyright (C) 1988 University of Illinois, Urbana, Illinois
- // Copyright (C) 1989 University of Colorado, Boulder, Colorado
- // Copyright (C) 1990 University of Colorado, Boulder, Colorado
- //
- // written by Dirk Grunwald (grunwald@foobar.colorado.edu)
- //
- //
- // Debug.h - Debugging stuff.
- //
- // $Header: /foobar/grunwald/Awe2/NewSrc/RCS/Debug.h,v 4.1 89/10/18 13:27:01 grunwald Exp Locker: grunwald $
- //
-
- #ifndef Debug_h
- # define Debug_h
- #pragma once
-
- # ifdef DEBUG
-
- #define Debug printf
-
- # else /* DEBUG */
-
- //
- // This is int instead of void to avoid "sorry, not implemented" things.
- //
-
- inline /* should be void */ int Debug( char *, ... ) { return (0); }
-
- # endif /* DEBUG */
- #endif /* Debug_h */
-